IntelliJ IDEA 2024.3 Help

Python

Python Plugin extends IntelliJ IDEA with the full-scale functionality for Python development.

Prerequisites

Before you start working with Python, make sure that the following prerequisites are met:

  • Python SDK is downloaded and installed on your machine.

  • The required framework SDKs are downloaded and installed on your machine.

For more information, refer to their respective download and installation pages:

Changes to the UI

Being installed, the Python Plugin introduces the following changes to the IntelliJ IDEA UI:

  • Python module type is added to the New Project and New Module wizards.

    Creating a new Python project
  • Python file type is added to the File | New menu. The Python file, Python unit test, and Python stub file types are available.

    Creating a new Python file
  • Python SDK can be specified in the Add new SDK popup under the SDKs node of the Project Structure dialog.

    Adding a Python SDK
  • Python-related commands are added to the Tools menu.

  • Django is implemented as the facet, which can be attached to a Python module, either in the New Project dialog, or in the Modules or Facets pages of the Project Structure dialog.

  • Python and Django-specific run/debug configurations, inspections, intention actions, and refactorings.

Besides that, the following elements are added to the Settings dialog:

Last modified: 25 April 2024